package com.itianyu.blog.util;

import com.qiniu.util.Auth;

public class QiniuUtil {
	public	static	String  accessKey = "g2JCblI8Buc0r1CwyRgOd268IF8BDe3CO61CrJkB";
	public	static  String secretKey = "6gmxDT3cXenilDSBR1Pf3_m_qo3rVTg-oJBq5Gzl";
	public	static	String bucket = "wblog";
	public	static	String url = "owvimnv03.bkt.clouddn.com";
	public static String getQiuNiuToken() {
		Auth auth = Auth.create(accessKey, secretKey);
		String upToken = auth.uploadToken(bucket);
		System.out.println(upToken);
		return upToken;
	}
}
